/**
 * Created by Administrator on 15-10-10.
 */

function loginout(){
   if(confirm('您确定要退出登录吗？')){
      clearStorage();
//      clearLogin();
       easeMobLogout();
      location.href='index.html';
      //alert("确定");
      return true;
   }else{
      //alert("取消");
      return false;
   }
}